Remove deprecated functions from GtkBox
authorChristian Dywan <christian@twotoasts.de>
Wed, 7 Oct 2009 15:38:23 +0000 (17:38 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sun, 2 May 2010 23:39:49 +0000 (01:39 +0200)
gtk/gtkbox.c
gtk/gtkbox.h

index 4e69b44ca85bb9f27e93fe0e5aec4b74d3ae2f0d..b9f5321c48156a21f9cd8220a3c04e944dd6dcd0 100644 (file)
@@ -1330,50 +1330,6 @@ gtk_box_pack_end (GtkBox    *box,
   gtk_box_pack (box, child, expand, fill, padding, GTK_PACK_END);
 }
 
-/**
- * gtk_box_pack_start_defaults:
- * @box: a #GtkBox
- * @widget: the #GtkWidget to be added to @box
- *
- * Adds @widget to @box, packed with reference to the start of @box.
- * The child is packed after any other child packed with reference 
- * to the start of @box. 
- * 
- * Parameters for how to pack the child @widget, #GtkBox:expand, 
- * #GtkBox:fill and #GtkBox:padding, are given their default
- * values, %TRUE, %TRUE, and 0, respectively.
- *
- * Deprecated: 2.14: Use gtk_box_pack_start()
- */
-void
-gtk_box_pack_start_defaults (GtkBox    *box,
-                            GtkWidget *child)
-{
-  gtk_box_pack_start (box, child, TRUE, TRUE, 0);
-}
-
-/**
- * gtk_box_pack_end_defaults:
- * @box: a #GtkBox
- * @widget: the #GtkWidget to be added to @box
- *
- * Adds @widget to @box, packed with reference to the end of @box.
- * The child is packed after any other child packed with reference 
- * to the start of @box. 
- * 
- * Parameters for how to pack the child @widget, #GtkBox:expand, 
- * #GtkBox:fill and #GtkBox:padding, are given their default
- * values, %TRUE, %TRUE, and 0, respectively.
- *
- * Deprecated: 2.14: Use gtk_box_pack_end()
- */
-void
-gtk_box_pack_end_defaults (GtkBox    *box,
-                          GtkWidget *child)
-{
-  gtk_box_pack_end (box, child, TRUE, TRUE, 0);
-}
-
 /**
  * gtk_box_set_homogeneous:
  * @box: a #GtkBox
index 038c3b1c3a1b35a6b095b8b1a28986973e0190b8..03075db34135ea4ae7ab4bd600a8e49dadcfe272 100644 (file)
@@ -114,13 +114,6 @@ void        gtk_box_pack_end            (GtkBox         *box,
                                          gboolean        fill,
                                          guint           padding);
 
-#ifndef GTK_DISABLE_DEPRECATED
-void        gtk_box_pack_start_defaults (GtkBox         *box,
-                                         GtkWidget      *widget);
-void        gtk_box_pack_end_defaults   (GtkBox         *box,
-                                         GtkWidget      *widget);
-#endif
-
 void        gtk_box_set_homogeneous     (GtkBox         *box,
                                          gboolean        homogeneous);
 gboolean    gtk_box_get_homogeneous     (GtkBox         *box);